package com.qf.aop;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author YDW
 * projectName:project2202_3
 * time:2022/5/5 15:50
 * description:
 */
public class MyMethodBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("在方法执行之前执行");
    }
}
